<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<c:if test="${session.uploadStatus }">
	<%
		session.setAttribute("uploadStatus", false);
	%>
	<script type="text/javascript">
		window.parent.location.reload();
	</script>
</c:if>
<html>
	<head>
		<title>文书终稿上传</title>
		<script type="text/javascript">
			$(document).ready(function(){
				$("#commentForm").validationEngine();
			});
		</script>
	</head>
	<body>
		<div class="container_16">
			<div class="grid_16">
				<div class="content_top">
					<span>文书终稿上传</span>
				</div>
				<div class="content_bottom">
					<br />
					<form id="commentForm" action="${ctx }/materialUpload.html" method="post" enctype="multipart/form-data">
						<input type="hidden" id="id" name="id" value="${id }">	
						<input type="hidden" id="attachtId" name="attachtId" value="${attachtId }">
						<table cellpadding="0" cellspacing="0" style="margin-left: 30px; width: 350px;">
							<tr>
								<td>
									<label>
										文书终稿：
									</label>
								</td>
								<td>
									<input type="file" id="upload" name="upload" onkeydown="return false" class="validate[required]" />
								</td>
								<td>
									<label class="btn">
										<input type="submit" value="提交" />
									</label>
								</td>
							</tr>
						</table>
					</form>
				</div>
			</div>		
		</div>
	</body>
</html>